package com.lzy.crm.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.lzy.crm.dao.ParamMapper;
import com.lzy.crm.service.ParamService;
import com.lzy.crm.vo.SystemStatusInfo;


/**
 * 系统配置方法
 * @author chenshiping
 *
 */
@Service("paramService")
public class ParamServiceImpl  implements ParamService{

	
	@Resource
	ParamMapper paramMapper;
	
	/**
	 * 查询系统配置列表
	 * @param statusName
	 * @return
	 */
	public List<SystemStatusInfo> getSystemStatusInfoByStatusName(String statusName){
		return paramMapper.getSystemStatusInfoByStatusName(statusName);
	}
	

	/**
	 *  修改配置
	 * @param systemStatusInfo
	 */
	public void updateSystemStatusInfo(SystemStatusInfo systemStatusInfo){
		paramMapper.updateSystemStatusInfo(systemStatusInfo);
	}
	
}
